package com.fbd.apipassenger.remote;

import com.fbd.internalcommon.dto.ResponseResult;
import com.fbd.internalcommon.response.NumberCodeResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("service-verificationcode")
public interface ServiceVerificationCodeClient {
    @GetMapping("/numberCode/{size}")
    ResponseResult<NumberCodeResponse> numberCode(@PathVariable int size);
}
